package com.poi.java;

import com.poi.java.pojo.LandProject;
import org.junit.Test;
import org.springframework.web.multipart.MultipartFile;

import java.io.File;
import java.text.DecimalFormat;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;

public class ParseTime {

    public static void main(String[] args) throws ParseException {
        /*Date date = new Date();
        String toDate = "2022-01-02";
        SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd");
        Date parse = simpleDateFormat.parse(toDate);

        String s =  WordController1.yearCompare(date, parse);
        System.out.println(s);*/

//        DecimalFormat df = new DecimalFormat("######0");
//        double a = 12.6;
//        System.out.println(df.format(a));




//        ExcelUtils.readMultipartFile(file, Aa.class)
    }
}
